package com.keyroy.game.puzzle_rpg.models.animations;

import com.keyroy.game.puzzle_rpg.models.puzzle.Tile;

public class TileMoveAnimation extends Animation {
	private Tile tile;

	public TileMoveAnimation(Tile tile) {
		this.tile = tile;
	}

	@Override
	public void execute() {
		tile.move();
	}

	@Override
	public boolean needExecute() {
		return tile.needMove();
	}

}
